<?php

class VES_VendorsProduct_Block_Widget_Grid_Column_Renderer_VendorBrand
    extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Text
{
    /**
     * Renders grid column
     *
     * @param   Varien_Object $row
     * @return  string
     */
    public function render(Varien_Object $row)
    {
        $productId = parent::render($row);
        $_product = Mage::getModel('catalog/product')->load($productId);
		$vendorBrand = $_product->getCommonBrand();
		
        $vendorBrand = '<span style="font-weight: bold;">'.$vendorBrand.'</span>';
        return $vendorBrand;
    }
}